From: Mark Brown Date: Wed, 2 Feb 2011 10:43:26 +0000 (+0000) Subject: ASoC: Update PM ifdefs for exported suspend/resume X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~11008^2~1145^2~126 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=88ee1c611d0ac0f771212f907bdfb33905a5dc89;p=linux-4.9.git ASoC: Update PM ifdefs for exported suspend/resume Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 205cbd7b149f..10bc3c23b525 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -1801,7 +1801,7 @@ static void snd_soc_instantiate_card(struct snd_soc_card *card) } card->snd_card->dev = card->dev; -#ifdef CONFIG_PM +#ifdef CONFIG_PM_SLEEP /* deferred resume work */ INIT_WORK(&card->deferred_resume_work, soc_resume_deferred); #endif